<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/c.tld" prefix="c"%>
<fieldset>
	<legend> &nbsp;&nbsp;&nbsp;&nbsp; 编辑信息 </legend>
	<form class="form-horizontal"
		action='<%=request.getContextPath()%>/c?s=wf&o=createMatter'
		method="post" id='form-tpl'>

		<div class="control-group">
			<label class="control-label">事项名称：</label>
			<div class="controls">
				<input type="text" name="m_title" id="" class="form-control"/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">事项流程：</label>
			<div class="controls">
				<select name="wf" class="form-control">
					<c:forEach var="wf" items="${wf_list }">
						<option value="${wf.k }">${wf.v }</option>
					</c:forEach>
				</select>
			</div>
		</div>

		<div class="control-group">
			<label class="control-label">事项缘由：</label>
			<div class="controls">
				<textarea name="m_reason" class="form-control" rows="3"></textarea>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">上传附件：</label>
			<div class="controls">
				<input type="text" class="file-input form-control" name="m_file"/>
				<input type="hidden" id="m_file-guid" name="guid" value=""/>
				<input type="hidden" id="m_file-ext" name="file_type" value=""/>
			</div>
		</div>
		<div class="form-actions">
			<button class="btn btn-primary btn-ajax-save" isajax="0" type="button">
				<i class="icon-share-alt"></i> <span>发 起</span>
			</button>

			<button class="btn btn-back">
				<i class="icon-reply"></i> <span>返 回</span>
			</button>
		</div>
	</form>
</fieldset>
<!-- Modal -->
<div class="modal fade" id="uploadForm" tabindex="-1" role="dialog"
	aria-labelledby="myModalLabel" aria-hidden="true">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<h4 class="modal-title" id="myModalLabel">附件上传</h4>
			</div>
			<div class="modal-body">
				<form action="<%=request.getContextPath()%>/f?o=upload"
					enctype='multipart/form-data' method="POST">
					<div id="spinner-div">
						<i class="icon-spinner icon-spin"></i>
					</div>
					<input type="file" name="attach_file" />
					<button class="btn btn-primary btn-lg" type="button">
						<i class="icon-upload"></i> 确定
					</button>
					<button class="btn btn-danger btn-lg" type="button">
						<i class="icon-remove"></i> 取消
					</button>
				</form>
			</div>

		</div>
		<!-- /.modal-content -->
	</div>
	<!-- /.modal-dialog -->
</div>
<!-- /.modal -->

<script type="text/javascript">
	
</script>